package cn.doctor.assistant.pad;

import android.app.Application;
import android.test.ApplicationTestCase;
import android.util.Log;

import java.util.HashMap;
import java.util.Map;

import cn.doctor.assistant.pad.api.bean.ReqBean;

/**
 * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
 */
public class ApplicationTest extends ApplicationTestCase<Application> {
    public ApplicationTest() {
        super(Application.class);
    }

    public void test() {
        Map<String, Long> map = new HashMap<>();
        map.put("userId", 1185L);
        ReqBean reqBean = ReqBean.newInstance("GetAssistantMap",map);
        String jsonParams = reqBean.toJsonString();
        Log.d("jzsn", jsonParams);
    }
}